﻿using System;
using Model.Interfaces;
using Model.ModelEventArgs;
using Model.NotifyingCollections;

namespace Model.ModelClasses
{
    public class Group:AbstractModel,IGroup
    {
        public event EventHandler<StudentEventArgs> AddStudentEventArgs;
        public event EventHandler<StudentEventArgs> RemoveStudentEventArgs;

        public NotifyingModelHashMap Students
        { get; set; }

        public String Name
        { get; set; }

        public ISubject Subject
        { get; set; }

        public String Subdivision { get; set; }
        public Nullable<DateTime> BeginDate { get; set; }
        public Nullable<DateTime> EndDate { get; set; }

        public ITeacher Teacher
        { get; set; }
    }
}
